package com.tudouji.project.mt.service;

import java.util.List;

import com.tudouji.common.exception.CustomException;
import com.tudouji.project.mt.domain.MtFoodcostcard;
import com.tudouji.project.mt.domain.MtShop;
import com.tudouji.project.mt.domain.MtToken;

/**
 * 美团成本卡主Service接口
 * 
 * @author tudouji
 * @date 2023-12-04
 */
public interface IMtFoodcostcardService 
{
    /**
     * 查询美团成本卡主
     * 
     * @param id 美团成本卡主ID
     * @return 美团成本卡主
     */
    public MtFoodcostcard selectMtFoodcostcardById(Long id);

    /**
     * 查询美团成本卡主列表
     * 
     * @param mtFoodcostcard 美团成本卡主
     * @return 美团成本卡主集合
     */
    public List<MtFoodcostcard> selectMtFoodcostcardList(MtFoodcostcard mtFoodcostcard);

    /**
     * 新增美团成本卡主
     * 
     * @param mtFoodcostcard 美团成本卡主
     * @return 结果
     */
    public int insertMtFoodcostcard(MtFoodcostcard mtFoodcostcard);

    /**
     * 修改美团成本卡主
     * 
     * @param mtFoodcostcard 美团成本卡主
     * @return 结果
     */
    public int updateMtFoodcostcard(MtFoodcostcard mtFoodcostcard);

    /**
     * 批量删除美团成本卡主
     * 
     * @param ids 需要删除的美团成本卡主ID
     * @return 结果
     */
    public int deleteMtFoodcostcardByIds(Long[] ids);

    /**
     * 删除美团成本卡主信息
     * 
     * @param id 美团成本卡主ID
     * @return 结果
     */
    public int deleteMtFoodcostcardById(Long id);

    void dataPull(List<MtShop> mtShopList);
    public void dataPullWithShop(MtToken mtToken, MtShop shop) throws Exception;
}
